﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Protocol.Messages.Game.Context
{
    public class GameMapMovementRequestMessage : NetworkMessage
    {
        public List<short> KeyMovements = new List<short>();
        public int MapID { get; set; }

        public GameMapMovementRequestMessage(NetworkMessageReader reader)
            : base(reader)
        {
            var loc2 = reader.Reader.readShort();
            for (int i = 0; i <= loc2 - 1; i++)
            {
                KeyMovements.Add(reader.Reader.readShort());
            }
            this.MapID = reader.Reader.readInt();
        }
    }
}
